{% load i18n %}
<div class="ui-grid-b">
  <div class="ui-block-a">
    {% if has_previous %}
    <span class="page">
      <a href="{{ request.path }}?page={{ previous }}&{{ url_arguments.encode_without_page }}" data-role="button" data-icon="arrow-l" data-inline="true">Pre</a>
    </span>
    {% endif %}
  </div>
  <div class="ui-block-b"></div>
  <div class="ui-block-c">
  {% if has_next %}
    <a href="{{ request.path }}?page={{ next }}&{{ url_arguments.encode_without_page }}" data-role="button" data-icon="arrow-r" data-iconpos="right" data-inline="true">Next</a>
  {% endif %}</div>
</div><!-- /grid-b -->